diff options
| author | Dhravya Shah <[email protected]> | 2025-09-18 20:34:18 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2025-09-18 21:03:49 -0700 |
| commit | 1fcb56908920da386900abb4ce2383374a625c72 (patch) | |
| tree | 0f9d7f695d4c9b1b85be3950fc869e0061dff3ed /apps/web/app/ref/[code] | |
| parent | refetching logic change (diff) | |
| download | supermemory-09-18-formatting.tar.xz supermemory-09-18-formatting.zip | |
formatting09-18-formatting
Diffstat (limited to 'apps/web/app/ref/[code]')
| -rw-r--r-- | apps/web/app/ref/[code]/page.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/web/app/ref/[code]/page.tsx b/apps/web/app/ref/[code]/page.tsx index 98afcfe5..f5633029 100644 --- a/apps/web/app/ref/[code]/page.tsx +++ b/apps/web/app/ref/[code]/page.tsx @@ -55,8 +55,6 @@ export default function ReferralPage() { checkReferral(); }, [referralCode]); - - const handleCopyLink = async () => { try { await navigator.clipboard.writeText(referralLink); @@ -146,11 +144,10 @@ export default function ReferralPage() { </p> </div> - <div className="text-center"> <Link - href="https://supermemory.ai" className="text-orange-500 hover:text-orange-400 text-sm underline" + href="https://supermemory.ai" > Learn more about supermemory </Link> @@ -178,10 +175,10 @@ export default function ReferralPage() { </p> </div> <Button + className="shrink-0 border-white/10 hover:bg-white/5" onClick={handleCopyLink} size="sm" variant="outline" - className="shrink-0 border-white/10 hover:bg-white/5" > {copiedLink ? ( <CheckIcon className="w-4 h-4" /> @@ -192,9 +189,9 @@ export default function ReferralPage() { </div> <Button + className="w-full border-white/10 text-white hover:bg-white/5" onClick={handleShare} variant="outline" - className="w-full border-white/10 text-white hover:bg-white/5" > <ShareIcon className="w-4 h-4" /> Share this link |